package com.ux.example
{
	import com.greensock.TweenMax;
	import com.greensock.data.TweenMaxVars;
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.events.MouseEvent;
	
	public class TweenParameterTest extends Sprite
	{
		
		private var mc : MovieClip;
		
		public function TweenParameterTest()
		{
			super();
			
			
			mc = new MovieClip();
			addChild( mc );
			mc.x = 300;
			
			TweenMax.to( mc, 1 , { onCompleteParams:[mc], onComplete:onCompleteH, alpha:1 } );
			
		}
		
		
		private function onCompleteH( target : MovieClip ):void 
		{
			trace(" ==> TweenParameterTest onCompleteH : " + target);

			trace( target );
		}
		
	}
}